package com.dengzhuo.server;

import com.dengzhuo.core.annotation.ServiceScan;
import com.dengzhuo.core.serializer.CommonSerializer;
import com.dengzhuo.core.transport.netty.server.NettyServer;

/**
 * @author 阿卓
 * @version 1.0
 * @date 2021/3/10 0010 13:16
 */
@ServiceScan
public class NettyTestServer {
    public static void main(String[] args) {
        NettyServer server = new NettyServer("127.0.0.1", 9999, CommonSerializer.PROTOBUF_SERIALIZER);
        server.start();
    }

}
